<template>
	<view class="page">
		<view
			class="flex flex-direction flex-wrap align-stretch justify-center benben-position-layout flex messageDetails_flex_0"
			:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between messageDetails_fd0_0'>
				<view class='flex flex-wrap align-center messageDetails_fd0_0_c0' @tap.stop="handleJumpDiy"
					data-type="back" data-url="1">
					<image class='messageDetails_fd0_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"56.png"'></image>
				</view>
				<text class='messageDetails_fd0_0_c1'>详情</text>
				<view class='flex align-center justify-end messageDetails_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>

		<view class="flex flex-direction flex-wrap align-stretch messageDetails_flex_1">
			<text class='messageDetails_fd1_0'>{{newsInfo.name}}</text>
			<text class='messageDetails_fd1_1'>{{newsInfo.create_time}}</text>
		</view>

		<view class="ben_fu-jyf-parser_2">
			<jyf-parser :html="newsInfo.content"></jyf-parser>
		</view>

	</view>
</template>
<script>
	export default {
		components: {},

		data() {
			return {
				"parser2": "",
				"info": [],
				"id": "",
				"newsInfo": {}
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {
			this.getData();
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			// 平台公告详情  post618a3c1d7e4e6
			getData() {
				this.newsInfo = uni.getStorageSync('content');
				// console.log(this.newsInfo);
				
				//请求方法
				//数据验证
			
				// let newsData = await this.$api.post(global.apiUrls.post618a3c1d7e4e6, {
				// 	id: this.id
				// });
				// if (newsData.data.code != 1) {
				// 	this.$message.info(newsData.data.msg);
				// 	return
				// }
				// let newsinfo = newsData.data;
				// this.newsInfo = newsinfo.data
				// console.log(this.newsInfo);
			}
		}
	};
</script>
<style lang="scss" scoped>
	.ben_fu-jyf-parser_2 {
		background-color: #fff;
		padding-left: 32rpx;
		padding-right: 32rpx;
		padding-top: 40rpx;
		padding-bottom: 32rpx;

	}

	.messageDetails_fd1_0 {
		font-size: 32rpx;
		line-height: 50rpx;
		font-weight: 500;
		color: #333333;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.messageDetails_fd1_1 {
		color: #999999;
		font-size: 24rpx;
		line-height: 33rpx;
		font-weight: 400;
		margin: 24rpx 0rpx 24rpx 0rpx;
	}

	.messageDetails_flex_1 {
		padding: 24rpx 32rpx 0rpx 32rpx;
	}

	.messageDetails_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		height: 88rpx;
	}

	.messageDetails_fd0_0_c0 {
		width: 40rpx;
		height: 40rpx;
	}

	.messageDetails_fd0_0_c0_c0 {
		width: 18rpx;
		height: 32rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.messageDetails_fd0_0_c1 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 50rpx;
	}

	.messageDetails_fd0_0_c2 {
		width: 40rpx;
		height: 40rpx;
	}

	.messageDetails_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		background-size: 100% !important;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.page {
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto !important;
	}
</style>
